{% extends 'base.html' %}

{% block content %}
	<div class="container">
		<table class="table">
			<thead><th colspan='2'><h1>{{ product }}</h1></th></thead>
			<tr>
				<td>
					{% if product.image1 %}
						<td><img src="/media/{{ product.image1 }}" style="max-width:350px;float:right;"></td>
					{% endif %}
					{{ product.description }} <br>
					<a href="add">Add to Cart</a>
				</td>
			</tr>
		</table>

	</div>
{% endblock %}